package org.fusionide.builder.parsers.cfml.tags;

import org.fusionide.builder.parsers.cfml.CFMLTag;

public class Abort extends CFMLTag {
	private String showError;

	public Abort(String attributes, int startOffset) {
		super(attributes, startOffset);

		if (attributes == null)
			return;

		this.showError = getAttribute("showerror");
	}

	@Override
	public boolean requiresClosingTag() {
		return false;
	}

	@Override
	public boolean acceptsChildren(CFMLTag tag) {
		return false;
	}

	public String getShowError() {
		return showError;
	}

	public void setShowError(String showError) {
		this.showError = showError;
	}
}
